/**
 * Created with CLion.
 * Description: 
 * User: cyber
 * Date: 2020-08-31
 * Time: 18:09
 */
#include <iostream>
#include <thread>

 using namespace std;

void hello()
{
    cout << "hello Concurrent world" << endl;
}
int main()
{
    std::thread t(hello);
    /*等待子线程t推出后，主线程再退出*/
    t.join();
    return 0;
}